package com.example.askto;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

public class Qbz {
    public static void main(String[] args) {

        String result = "{\n" +
                "    \"status\":200,\n" +
                "    \"message\":\"success\",\n" +
                "    \"data\":{\n" +
                "\t\"MNBvX15%2F5rsp4T0eynSi1%2FGLZfOmRBiuo%2BnKhk4tPz.\"\n" +
                "\t}\n" +
                "}\n";

        JSONObject jsonObject = JSON.parseObject(result);
        int status = jsonObject.getInteger("status");
        if (status != 200) {
            String message = jsonObject.getString("message");
        }

        JSONObject data = jsonObject.getJSONObject("data");

        System.out.println(data);
    }
}
